package interfaces;

import java.io.Serializable;

/**
 *Interface for the Usertask
 *It have to be implement in the Usertask
 */
public interface TaskI <IN, OUT> extends Serializable{
	 //public void data();
	 //public void algo();
	 //public INOUT process();
	//INOUT recv();
	//boolean send(INOUT item);
	
	 /** Runs the given "task"
	 * @param in
	 * @return
	 */
	public OUT process(IN in);
	
}